<html>
<body>
Reports direct inheritors of <code>sealed</code> classes that have no state and overridden <code>equals()</code> method.
<p>It's highly recommended to override <code>equals()</code> to provide comparison stability, or convert the <code>class</code> to an <code>object</code> to reach the same effect.</p>
<p><b>Example:</b></p>
<pre><code>
  sealed class Receiver {
      class Everyone : Receiver()
      class User(val id: Int) : Receiver()
  }
</code></pre>
<p>The quick-fix converts a <code>class</code> into an <code>object</code>:</p>
<pre><code>
  sealed class Receiver {
      object Everyone : Receiver()
      class User(val id: Int) : Receiver()
  }
</code></pre>
<!-- tooltip end -->
</body>
</html>